<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/common-taglib.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<%@ include file="/WEB-INF/views/common/common-meta.jsp"%>
<title>单位添加-教学材料管理系统</title>
<%@ include file="/WEB-INF/views/common/common-css.jsp"%>
</head>
<body>
	<!-- header -->
	<%@ include file="/WEB-INF/views/common/header.jsp"%>

	<!-- 主管理区域 admin-main -->
	<div class="am-cf admin-main higher">
		<!-- 侧边栏 side bar start -->
		<div class="admin-sidebar">
			<%@ include file="/WEB-INF/views/sidebar/sidebar.jsp"%>
		</div>
		<!-- side bar end -->

		<!-- 内容区域 content start -->
		<div class="admin-content" id="admin-content">
			<div class="am-cf am-padding">
				<div class="am-fl am-cf">
					<strong class="am-text-primary am-text-lg">单位管理</strong> / <small><a
						href="unit.action">单位管理</a></small> / <small>单位添加</small>
				</div>
			</div>
			<div class="am-tabs am-margin">
				<ul class="am-tabs-nav am-nav am-nav-tabs">
					<li class="am-active"><a href="javascript:;">单位信息</a></li>
				</ul>

				<div class="am-tabs-bd">
					<div class="am-tab-panel am-fade am-in am-active" id="job-tag">
						<form class="am-form" id="unitForm"
							action="unit/addUnitSubmit.action" method="post">
							<div class="am-u-sm-1 am-text-left">
								<strong>单位信息</strong>
							</div>
							<br>
							<hr>
							<div class="am-g am-margin-top">
								<div class="am-u-sm-2 am-text-right">*单位名称</div>
								<div class="am-u-sm-4 am-text-left">
									<input class="am-input-sm" maxlength="10" name="unitName"
										id="unitName" type="text" 
								        data-am-popover="{content:'6-10字符',trigger:'hover focus'}">
								</div>
								<div class="am-u-sm-6 am-text-right"></div>
							</div>

							<div class="am-g am-margin-top">
								<div class="am-u-sm-2 am-text-right">*单位地址</div>
								<div class="am-u-sm-4 am-text-left">
									<input class="am-input-sm" maxlength="16" name="unitAddress"
										id="unitAddress" type="text"
										data-am-popover="{content:'6-16字符',trigger:'hover focus'}">
								</div>
								<div class="am-u-sm-6 am-text-right"></div>
							</div>
							<br>

						</form>
					</div>
				</div>
			</div>

			<div class="am-margin">
				<div class="am-u-sm-1 am-text-right">
					<button type="button" class="am-btn am-btn-primary am-btn-xs"
						onclick="addUnit()" id="subBtn">提交</button>
				</div>
			</div>
		</div>
		<!-- content end -->
	</div>

	<!-- footer -->
	<%@ include file="/WEB-INF/views/common/footer.jsp"%>
	<!-- 控制js -->
	<%@ include file="/WEB-INF/views/common/common-js.jsp"%>

	<script src="assets/script/unit/unit-add.js"></script>
</body>
</html>

